cluster.name: elk-cluster
node.name: {{ inventory_hostname }}
path.data: {{ elasticsearch_data_dir }}/data
path.logs: {{ elasticsearch_install_path }}/{{ elasticsearch_link }}/logs
network.host: {{ inventory_hostname }}
http.port: {{ elasticsearch_port }}
discovery.seed_hosts: [{% for host in groups['elasticsearch'] %}{{ host }}{% if not loop.last %}, {% endif %}{% endfor %}]
cluster.initial_master_nodes: [{% for host in groups['elasticsearch'] %}{{ host }}{% if not loop.last %}, {% endif %}{% endfor %}]
xpack.security.enabled: true
xpack.license.self_generated.type: basic
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.client_authentication: required
xpack.security.transport.ssl.keystore.path: certs/elastic-certificates.p12
xpack.security.transport.ssl.keystore.password: "{{ elasticstack_password }}"
xpack.security.transport.ssl.truststore.path: certs/elastic-certificates.p12
xpack.security.transport.ssl.truststore.password: "{{ elasticstack_password }}"
xpack.security.http.ssl.keystore.password: "{{ elasticstack_password }}"
xpack.security.http.ssl.truststore.password: "{{ elasticstack_password }}"